{
  "split": {
    "groupings": [
      {
        "inputField": "Composite Rating",
        "type": "UNIQUE_VALUES"
      }
    ],
    "measures": [
      {
        "function": "RECORD_COUNT"
      }
    ]
  },
  "total": {
    "groupings": [],
    "measures": [
      {
        "function": "RECORD_COUNT"
      }
    ]
  },
  "formula1": {
    "@visokiotype": "QueryApi.FormulaQueryInput",
    "input": {
      "@visokiotype": "QueryApi.RecordFilterQuery",
      "filter": {
        "type": "FIELD_VALUE",
        "inputField": "Category",
        "operator": "=",
        "value": "Subordinated"
      }
    },
    "formulas": [
      "SUBSET_MEAN([Coupon]) / 100"
    ]
  },
  "formula2": {
    "@visokiotype": "QueryApi.FormulaQueryInput",
    "input": {
      "@visokiotype": "QueryApi.AggregateQuery",
      "groupings": [
        {
          "inputField": "Category"
        }
      ],
      "measures": [
        {
          "inputField": "Coupon",
          "function": "SUM",
          "name": "Coupon"
        }
      ]
    },
    "formulas": [
      "SUBSET_MEAN([Coupon]) / 100"
    ]
  }
}